/*
Copyright(c) 2008 Jari Kemppinen <jari@viddem.com>

This example was built upon the PureMVC Framework by Cliff Hall.
http://www.puremvc.org
This example uses the Java PureMVC Framework Version 0.2

Please contribute to the PureMVC community.

License
-------
Your reuse is governed by the Creative Commons Attribution 3.0 license.
 */

/*
 Multiple value objects can be created utilising a proxy.
 */
package org.lbroussal.client.model.vo;

public class ItemDataVO {

    private String url = "";

    private String label = "";

    public ItemDataVO(String url, String label) {
        if (url != null)
            this.url = url;
        if (label != null)
            this.label = label;
    }

    public ItemDataVO() {

    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLabel() {
        return this.label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String toString() {
        return "name: " + label + " / url: " + url;
    }
}